mod master;

use axum::{
    routing::{put, get, post},
    Router
};

pub fn routes() -> Router{
    Router::new()
    .route("/database", get(master::list))
    .route("/database/add", post(master::add))
    .route("/database/del", put(master::del))
}
